package com.zxf.pojo;

import java.util.Date;



public class Article {
    private Integer articleID;//文章标题号

    private Integer channelid;//频道分类编号

    private Integer typeid;//文章分类编号

    private String title;//标题

    private String summary;//文章概要

    private String addeddate;//添加时间

    private String user;//用户

    private String author;//作者

    private String source;//来源

    private Date publishdate;//发布日期
    private String content;
    private Integer contentid;

    
    
   

	public Article() {
		super();
	}

	public Article(Integer articleID, Integer channelid, Integer typeid,
			String title, String summary, String addeddate, String user,
			String author, String source, Date publishdate,String content,Integer contentid) {
		super();
		this.articleID = articleID;
		this.channelid = channelid;
		this.typeid = typeid;
		this.title = title;
		this.summary = summary;
		this.addeddate = addeddate;
		this.user = user;
		this.author = author;
		this.source = source;
		this.publishdate = publishdate;
		this.content = content;
		this.contentid = contentid;
	}
	 public Integer getContentid() {
			return contentid;
		}

		public void setContentid(Integer contentid) {
			this.contentid = contentid;
		}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	

    public Integer getArticleID() {
		return articleID;
	}

	public void setArticleID(Integer articleID) {
		this.articleID = articleID;
	}

	public Integer getChannelid() {
        return channelid;
    }

    public void setChannelid(Integer channelid) {
        this.channelid = channelid;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getAddeddate() {
        return addeddate;
    }

    public void setAddeddate(String addeddate) {
        this.addeddate = addeddate;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user == null ? null : user.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Date getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Date publishdate) {
        this.publishdate = publishdate;
    }
}